Skip to content

[pull] master from ruby:master#162

Merged
pull[bot] merged 1 commit intosysfce2:masterfrom
ruby:master
Mar 16, 2026
Merged

[pull] master from ruby:master#162
pull[bot] merged 1 commit intosysfce2:masterfrom
ruby:master

Conversation

@pull
Copy link
Copy Markdown

@pull pull Bot commented Mar 16, 2026

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

## Summary

- Pressing Ctrl+C in `rdoc --server` raised `ThreadError: deadlock;
recursive locking` because the `INT` trap called `shutdown`, which
closed the TCP server socket from the same thread blocked on `accept`
- Replace trap-based shutdown with `rescue Interrupt` around the accept
loop, and move cleanup into an `ensure` block
@pull pull Bot locked and limited conversation to collaborators Mar 16, 2026
@pull pull Bot added the ⤵️ pull label Mar 16, 2026
@pull pull Bot merged commit 237f113 into sysfce2:master Mar 16, 2026
3 of 8 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant